package com.lggry.thisDemo;

public class thisDemo {
    public static void main(String[] args) {
        //目标：认识this关键字，搞清楚this关键字的应用场景
//        Student stu1 = new Student();
//        System.out.println(stu1);

        Student stu2 = new Student();
        stu2.name = "李熙胤";
        stu2.printHobby("唱歌");

        Student stu3 = new Student();
        stu3.printInfo("李四", 18, '男');
        System.out.println(stu3.name + ',' + stu3.age + ',' + stu3.gender);
    }
}
